import request from '@/utils/request'
const groupName = 'sysNotice'
export default {
	//查询首页
	getNoticeList() {
		return request({
			url: `/${groupName}/getNoticeList`,
			method: 'get'
		})
	},
	/**
	   * 根据id查询
	   */
	  get(id) {
	    return request({
	      url: `/${groupName}/get/${id}`,
	      method: 'get'
	    })
	  },
}
